package edu.lingnan.ns_ebusiness.controller;


import edu.lingnan.ns_ebusiness.service.TbFocusService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpSession;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author 陈世杰
 * @since 2022-01-04
 */
@Controller
public class TbFocusController {
    @Autowired
    private TbFocusService tbFocusService;
    //查找全部我的收藏
    //我的收藏
    @GetMapping("/myFocus")
    public String getMyFocusGoodsInfo(HttpSession httpSession, Model model){
        return tbFocusService.getMyFocusGoodsInfo(httpSession,model);
    }


}

